<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>把 SVG 直接嵌入 HTML 页面</title>
</head>
<body>

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190">
  <polygon points="100,10 40,180 190,60 10,60 160,180" style="fill:red;stroke:blue;stroke-width:3;fill-rule:evenodd;" />
</svg>

</body>
</html>